package com.fifth.apartment.mail;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.javamail.JavaMailSender;

/**
 * TODO
 *
 * @author Dao
 * @since 2024/7/15
 */
@Slf4j
public class MyMail {
    @Autowired
    private JavaMailSender javaMailSender;

    private String from = "DaoYee66@163.com";
    private String to = "1287127238@qq.com";
    private String subject = "测试邮件" ;

    //{
    //  "attch": "string",
    //  "content": "测试",
    //  "from": "DaoYee66@163.com",
    //  "subject": "测试邮件",
    //  "to": "1287127238@qq.com"
    //}
}
